package cn.stylefeng.guns.modular.household.service;

import cn.stylefeng.guns.modular.household.entity.Household;
import cn.stylefeng.guns.modular.household.pojo.HouseholdAddRequest;
import cn.stylefeng.guns.modular.household.pojo.HouseholdRequest;
import cn.stylefeng.guns.modular.household.pojo.dto.HouseholdDto;
import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 户基本信息服务层
 *
 * @author lichenhui
 * @date 2024/03/20
 */
public interface HouseholdService extends IService<Household> {

    PageResult<Household> findPage(HouseholdRequest request);

    void add(HouseholdAddRequest request);

    void del(HouseholdRequest request);

    void edit(HouseholdAddRequest request);

    HouseholdDto detail(HouseholdRequest request);

}
